<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户中心首页</title>
    <base href="<?php echo base_url(); ?>"/>
    <link href="style/base.css" rel="stylesheet" type="text/css" />
    <link href="style/common.css" rel="stylesheet" type="text/css" />
    <link href="style/houtai.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <!--[if IE 6]>
    <script type="text/javascript" language="javascript" src="js/ie6/DD_belatedPNG_0.0.8a-min.js"></script>
    <script type="text/javascript" language="javascript">
        DD_belatedPNG.fix('.logo img,.footer_logo img');
    </script>
    <![endif]-->
</head>

<body>
<!-- head S-->
<?php
include 'header.php';
?>
<!-- head E-->

<div class="houtai_content mt_10 clearfix">
    <!-- 侧栏 开始 -->
    <?php
    include 'member_left.php';
    ?>
    <!-- 侧栏 结束 -->

    <!-- 用户中心首页 S -->
    <div class="houtai_main">
        <div class="houtai_index">
            <!--资料修改 S-->
            <div class="houtai_mp">
                <div class="houtai_mp_img"><a href="index.php/manage/settingPhoto"><img src="<?php if(empty($user['headurl'])) print 'images/touxiang_img.jpg'; else print base_url().'uploads/'.$user['headurl'];?>" /><span>修改头像</span></a></div>
                <div class="houtai_mp_cnt">
                    <h3 class="houtai_mp_name fontc01"><?php echo $user['realname'];?></h3>
                    <div class="houtai_mp_touxian">
                        <?php echo $icon;?>
                    </div>
                    <div class="clear"></div>
                    <ul class="houtai_index_option">
                        <!--给li添加了has样式表示已经绑定了-->
                        <li><a href="index.php/manage/userinfo" <?php if($checkUser){ ?> style="background-position:0 -105px;"<?php } ?> class="btn_wszl">完善资料</a></li>
                        <li><a href="index.php/manage/mcard" <?php if($madouKa){ ?> style="background-position:0 -105px;"<?php } ?> class="btn_mtk">模特卡</a></li>
                        <li><a href="index.php/manage/malbum" <?php if($checkAlbum){ ?> style="background-position:0 -105px;"<?php } ?> class="btn_cjxc">创建相册</a></li>
                        <li><a href="index.php/manage/memailphone" <?php if($checkPhone){ ?> style="background-position:0 -105px;"<?php } ?> class="btn_sjbd">手机绑定</a></li>
                        <li><a href="index.php/manage/mweibo" <?php if($checkWeibo){ ?> style="background-position:0 -105px;"<?php } ?> class="btn_wbbd">微博绑定</a></li>
                    </ul>
                </div>
            </div>
            <!--资料修改 E-->

            <!--最新动态 S-->
            <div class="houtai_index_dt">
                <div class="no">暂无动态信息</div>
            </div>
            <!--最新动态 E-->
        </div>
    </div>
    <!-- 用户中心首页 E -->
</div>

<!-- 底部 S -->
<?php
include 'footer.php';
?>
<!-- 底部 E -->
</body>
</html>
